package top.linyuxb.lycloud.gateway.starter.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import top.linyuxb.lycloud.gateway.starter.controller.LyGatewayRouterController;

/**
 * Created by Intellij IDEA.
 *
 * @Author: linyuxb
 * @Date: 2024/8/20 11:43
 * @Desc: 网关路由配置
 */
@Slf4j
@Configuration
@Import(LyGatewayRouterController.class)
@ConditionalOnProperty(
        prefix = "ly-gateway.router",
        name = "open",
        havingValue = "true"
)
public class LyGatewayRouterConfig {

}
